{include file="public/head" /}
{include file="public/js_ueditor" /}
<!--有理想的地方，地狱都是天堂-->
<!--Copyright @ df81.com 版权所有-->
<!--作者: 南国老符 邮箱：1062129401@qq.com-->
<link rel="stylesheet" href="{:config('template.skin')}/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css">
        <!-- 左侧菜单 开始 -->
        <div class="sidebar">
            <nav>
                <ul class="nav nav-pills nav-sidebar flex-column nav-flat nav-legacy d-block d-md-none" data-widget="treeview" role="menu" data-accordion="false">
                    {include file="public/left_content" /}
                </ul>
                <ul class="nav nav-pills nav-sidebar flex-column nav-flat nav-legacy d-block d-md-none" data-widget="treeview" role="menu" data-accordion="false">
                    {include file="public/left_data" /}
                </ul>
                <ul class="nav nav-pills nav-sidebar flex-column nav-flat nav-legacy" data-widget="treeview" role="menu" data-accordion="false">
                    {include file="public/left_global" /}
                </ul>
                <ul class="nav nav-pills nav-sidebar flex-column nav-flat nav-legacy d-block d-md-none" data-widget="treeview" role="menu" data-accordion="false">
                    {include file="public/left_system" /}
                </ul>
            </nav>
        </div>
        <!-- 左侧菜单 结束 -->
    </aside>
    <!-- 左侧 结束 -->
    <!-- 右侧 开始 -->
    <div class="content-wrapper">
        <!-- 内容导航 开始 -->
        <div class="content-header py-2 bg-white mb-3">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-sm-12">
                        <ol class="breadcrumb">
                            <li>{:lang('v_global')}<i class="fas fa-angle-right mx-2"></i></li>
                            <li>{:lang('v_system_manage')}<i class="fas fa-angle-right mx-2"></i></li>
                            <li>{:lang('v_config_setting')}</li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>
        <!-- 内容导航 结束 -->
        <!-- 内容主体 开始 -->
        <section class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-12">
                        <div class="card card-outline card-success card-outline-tabs border-top-0">
                            <div class="card-header p-0">
                                <div class="float-left nav-link"><i class="fa fa-cogs mr-1"></i>{:lang('v_config_setting')}</div>
                                <ul class="nav nav-tabs border-bottom-0 float-right">
                                    <li class="nav-item">
                                        <a class="nav-link active" data-toggle="pill" href="#tab_general">{:lang('v_basic')}</a>
                                    </li>
                                    <li class="nav-item">
                                        <a class="nav-link" data-toggle="pill" href="#tab_meta">{:lang('v_extend')}</a>
                                    </li>
                                </ul>
                            </div>
                            <div class="card-body">
                                <form name="form_edit" id="form_edit" method="post" action="{:url('/config/index',['lang'=>$lang])}">
                                    <input type="hidden" name="lang" value="{:input('lang')}">
                                    <div class="tab-content">
                                        <div class="tab-pane active" id="tab_general">
                                            <div class="row">
                                                <div class="offset-md-3 col-md-4 font-weight-bold text-danger">{:lang('v_url_style')}</div>
                                            </div>
                                            <hr class="my-2">
                                            <div class="row mb-3">
                                                <div class="col-md-3 text-right">{:lang('v_title_to_pinyin')}</div>
                                                <div class="col-md-9">
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="pinyin_type" value="permalink" {if config('global.url.pinyin_type') eq 'permalink'}checked="checked"{/if} class="form-check-input" />
                                                        {:lang('v_full_pinyin')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="pinyin_type" value="abbr" {if config('global.url.pinyin_type') eq 'abbr'}checked="checked"{/if} class="form-check-input" />
                                                        {:lang('v_initial')}
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row mb-3">
                                                <div class="col-md-3 col-form-label text-right">{:lang('v_urlroute_length')}</div>
                                                <div class="col-md-3">
                                                    <input type="number" name="url_length" value="{:config('global.url.length')}" class="input">
                                                </div>
                                            </div>
                                            <div class="row mb-3">
                                                <div class="col-md-3 text-right">{:lang('v_list_page')}</div>
                                                <div class="col-md-9">
                                                    <label class="w-100 form-check form-check-inline">
                                                        <input type="radio" name="url_list" value="0" checked="checked" class="form-check-input" />{:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_module')} urlroute/{:lang('v_page_number')}/
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row mb-3">
                                                <div class="col-md-3 text-right">{:lang('v_category_page')}</div>
                                                <div class="col-md-9">
                                                    <label class="w-100 form-check form-check-inline">
                                                        <input type="radio" name="url_category" value="0" class="form-check-input" {if empty(config('global.url.category'))}checked="checked" {/if} />{:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_sort')} urlroute/{:lang('v_page_number')}/
                                                    </label>
                                                    <label class="w-100 form-check form-check-inline">
                                                        <input type="radio" name="url_category" value="1" class="form-check-input" {if config('global.url.category') eq 1}checked="checked" {/if} />{:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_top_category')} urlroute/{:lang('v_second_category')} urlroute/....../{:lang('v_page_number')}/
                                                    </label>
                                                    <label class="w-100 form-check form-check-inline">
                                                        <input type="radio" name="url_category" value="2" class="form-check-input" {if config('global.url.category') eq 2}checked="checked" {/if} />{:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_module')} urlroute/{:lang('v_sort')} urlroute/{:lang('v_page_number')}/
                                                    </label>
                                                    <label class="w-100 form-check form-check-inline">
                                                        <input type="radio" name="url_category" value="3" class="form-check-input" {if config('global.url.category') eq 3}checked="checked" {/if} />{:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_module')} urlroute/{:lang('v_top_category')} urlroute/{:lang('v_second_category')} urlroute/....../{:lang('v_page_number')}/
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row mb-2">
                                                <div class="col-md-3 text-right">{:lang('v_view_page')}</div>
                                                <div class="col-md-9">
                                                    <label class="w-100 form-check form-check-inline">
                                                        <input type="radio" name="url_view" value="0" {if empty(config('global.url.view'))}checked="checked" {/if} class="form-check-input" />{:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_module')} urlroute/{:lang('v_info')} urlroute.html
                                                    </label>
                                                    <label class="w-100 mb-3 form-check form-check-inline">
                                                        <input type="radio" name="url_view" value="1" {if config('global.url.view') eq 1}checked="checked" {/if} class="form-check-input" />{:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_module')} urlroute/{:lang('v_info')} id.html
                                                    </label>
                                                    <div class="w-100 my-2 text-danger font-weight-bold">{:lang('v_view_page_root')}</div>
                                                    <div class="w-100">
                                                        <label class="form-check form-check-inline">
                                                            <input type="radio" name="url_root" value="0" {if empty(config('global.url.root'))}checked="checked" {/if} class="form-check-input">
                                                            {:lang('v_disable')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input type="radio" name="url_root" value="1" {if config('global.url.root') eq 1}checked="checked" {/if} class="form-check-input">
                                                            {:lang('v_enable')}
                                                        </label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row mb-2 url_root {if empty(config('global.url.root'))}d-none{/if}">
                                                <div class="col-md-3 text-right">{:lang('v_enabled_module')}</div>
                                                <div class="col-md-9">
                                                    <div class="w-100">
                                                        {volist name="moduleList" id="moduleRs"}
                                                            <label class="form-check form-check-inline">
                                                                <input type="radio" name="url_root_module" value="{:strtolower($moduleRs.tabledir)}" {if config('global.url.root_module') eq strtolower($moduleRs.tabledir)}checked="checked" {/if} class="form-check-input">
                                                                {$moduleRs.title}
                                                            </label>
                                                        {/volist}
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row mb-2 url_root {if empty(config('global.url.root'))}d-none{/if}">
                                                <div class="col-md-3 text-right">{:lang('v_url_style')}</div>
                                                <div class="col-md-9">
                                                    <div class="float-left mr-5">
                                                        <label class="form-check">
                                                            <input type="radio" name="url_root_type" value="0" {if empty(config('global.url.root_type'))}checked="checked" {/if} class="form-check-input">
                                                            {:lang('v_info')} urlroute：
                                                        </label>
                                                        {:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_info')} urlroute.html
                                                    </div>
                                                    <div class="float-left">
                                                        <label class="form-check">
                                                            <input type="radio" name="url_root_type" value="1" {if config('global.url.root_type') eq 1}checked="checked" {/if} class="form-check-input">
                                                            {:lang('v_info')} id：
                                                        </label>
                                                        {:request()->domain()}{if empty(config('global.url.bind_lang'))}/{:lang('v_language')}{/if}/{:lang('v_info')} id.html
                                                    </div>
                                                    <div class="clearfix"></div>
                                                </div>
                                            </div>
                                            <div class="row mb-2">
                                                <div class="col-md-3 text-right">{:lang('v_bind_domain')}</div>
                                                <div class="col-md-9">
                                                    <label class="form-check form-check-inline text-danger">
                                                        <input type="radio" name="bind_lang" value="0" {if empty(config('global.url.bind_lang'))}checked="checked"{/if} class="form-check-input" />{:lang('v_no')}【{:lang('v_local_run')}，{:lang('v_please_select')}“{:lang('v_no')}”】
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="bind_lang" value="1" {if !empty(config('global.url.bind_lang'))}checked="checked"{/if} class="form-check-input" />{:lang('v_yes')}
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row class_bind {if empty(config('global.url.bind_lang'))}d-none{/if}">
                                                <div class="col-md-3 text-right">{:lang('v_city_site')}</div>
                                                <div class="col-md-9">
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="city_site" value="0" {if empty(config('global.url.city_site'))}checked="checked"{/if} class="form-check-input" />{:lang('v_disable')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="city_site" value="1" {if !empty(config('global.url.city_site'))}checked="checked"{/if} class="form-check-input" />{:lang('v_enable')}
                                                    </label>
                                                </div>
                                                <div class="offset-md-3 col-md-9">
                                                    <?php
                                                        $domainArray = config('app.domain_bind');
                                                    ?>
                                                    {volist name="langList" id="langRs"}
                                                        <?php
                                                            $langPre = $langRs['mulu'];
                                                            if($langRs['isdefault'] == 1){
                                                                $langPre = 'www';
                                                                echo '<input type="hidden" name="bind_url[]" value="'.request()->rootDomain().'">';
                                                                echo '<input type="hidden" name="bind_mulu[]" value="'.$langRs['mulu'].'">';
                                                            }
                                                            $bind_url = $langPre.'.'.request()->rootDomain();
                                                            
                                                            // 已绑定域名的情况下
                                                            if(!empty($domainArray)){
                                                                $bind_url = $default_domain;
                                                                $bindDomainArray = array_keys($domainArray,$langRs['mulu']);
                                                                if(empty($langRs['isdefault']) and !empty($bindDomainArray)){
                                                                    $bind_url = $bindDomainArray[0];
                                                                }
                                                            }
                                                        ?>
                                                        <div class="clearfix mb-3"></div>
                                                        <div class="float-left mr-3">
                                                            <div class="input-group input-group-sm">
                                                                <div class="input-group-prepend">
                                                                    <div class="input-group-text">{:lang('v_domain')}：</div>
                                                                </div>
                                                                <input type="text" name="bind_url[]" value="{$bind_url}" class="form-control">
                                                            </div>
                                                        </div>
                                                        <div class="float-left">
                                                            <div class="input-group input-group-sm">
                                                                <div class="input-group-prepend">
                                                                    <div class="input-group-text">{:lang('v_bind_lang')}：</div>
                                                                </div>
                                                                <input type="text" value="{$langRs.viewtitle}[{$langRs.mulu}]" class="form-control" readonly="yes">
                                                                <input type="hidden" name="bind_mulu[]" value="{$langRs.mulu}">
                                                            </div>
                                                        </div>
                                                    {/volist}
                                                </div>
                                            </div>
                                            <div class="w-100 mb-5"></div>
                                        </div>
                                        <div class="tab-pane" id="tab_meta">
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_debug_model')}</div>
                                                <div class="col-md-8">
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="app_debug" value="true" {if !empty($env)}checked="checked" {/if} class="form-check-input" />{:lang('v_enable')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="app_debug" value="false" {if empty($env)}checked="checked" {/if} class="form-check-input" />{:lang('v_disable')}
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">{:lang('v_login_fail')}</div>
                                                <div class="col-md-4">
                                                    <input type="text" class="input" name="verify_times" value="{:config('global.verify_times')}" /> {:lang('v_times')}，{:lang('v_use_verify')}
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">{:lang('v_login_fail')}</div>
                                                <div class="col-md-5">
                                                    <input type="text" class="input" name="lock_times" value="{:config('global.lock_times')}" /> {:lang('v_times')}，{:lang('v_lock')} <input type="text" class="input" name="lock_minute" value="{:config('global.lock_minute')}" /> {:lang('v_minute')}
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('shopv_use_captcha')}</div>
                                                <div class="col-md-8">
                                                    <label class="form-check form-check-inline">
                                                        <input name="captcha[]" type="checkbox" value="feedback" {if config('app.captcha.feedback') eq 1}checked="checked"{/if} class="form-check-input mr-1" />{:lang('v_feedback')}
                                                    </label>
                                                    <label class="form-check form-check-inline {if config('app.other.system_type') eq 'company'}d-none{/if}">
                                                        <input name="captcha[]" type="checkbox" value="user" {if config('app.captcha.user') eq 1}checked="checked"{/if} class="form-check-input mr-1" />{:lang('v_user')}
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_feedback')} {:lang('v_required')}</div>
                                                <div class="col-md-8">
                                                    <label class="form-check form-check-inline">
                                                        <input name="feedback[]" type="checkbox" value="realname" {if config('feedback.realname') eq 1}checked="checked"{/if} class="form-check-input mr-1" />{:lang('v_realname')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input name="feedback[]" type="checkbox" value="mobile" {if config('feedback.mobile') eq 1}checked="checked"{/if} class="form-check-input mr-1" />{:lang('v_mobile')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input name="feedback[]" type="checkbox" value="email" {if config('feedback.email') eq 1}checked="checked"{/if} class="form-check-input mr-1" />{:lang('v_email')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input name="feedback[]" type="checkbox" value="telephone" {if config('feedback.telephone') eq 1}checked="checked"{/if} class="form-check-input mr-1" />{:lang('v_telephone')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input name="feedback[]" type="checkbox" value="content" {if config('feedback.content') eq 1}checked="checked"{/if} class="form-check-input mr-1" />{:lang('v_content_a')}
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">盐值</div>
                                                <div class="col-md-5">
                                                    <input type="text" name="salt" value="******" class="form-control">
                                                </div>
                                            </div>
                                            <div class="row form-group {if config('app.isdisplay.uniapp') neq 1}d-none{/if}">
                                                <div class="col-md-3 text-right">
                                                    <span class="text-danger">{:lang('v_ip_black')}</span><br>
                                                    <span class="text-muted">{:lang('v_oneline_onevalue')}</span>
                                                </div>
                                                <div class="col-md-5">
                                                    <textarea name="ip_black" rows="2" class="form-control" placeholder="{:lang('v_oneline_onevalue')}">{:config('global.ip_black')}</textarea>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_file_delete_ornot')}</div>
                                                <div class="col-md-8">
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="deletefile" value="1" {if config('app.other.deletefile') eq 1}checked="checked" {/if} class="form-check-input" />{:lang('v_yes')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="deletefile" value="0" {if config('app.other.deletefile') eq 0}checked="checked" {/if} class="form-check-input" />{:lang('v_no')}
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_data_compress')}</div>
                                                <div class="col-md-8">
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="compress" value="1" {if config('app.dataconfig.compress') eq 1}checked="checked" {/if} class="form-check-input" />{:lang('v_yes')}
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="compress" value="0" {if config('app.dataconfig.compress') eq 0}checked="checked" {/if} class="form-check-input" />{:lang('v_no')}
                                                    </label>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_cannot_delete_fieldid')}</div>
                                                <div class="col-md-5">
                                                    <textarea name="no_delete_fieldid" rows="2" class="form-control" placeholder="{:lang('v_cannot_delete_fieldid')}">{:config('app.other.no_delete_fieldid')}</textarea>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_cannot_delete_attribute')}</div>
                                                <div class="col-md-5">
                                                    <textarea name="no_delete_attid" rows="2" class="form-control" placeholder="{:lang('v_cannot_delete_attribute')}">{:config('app.other.no_delete_attid')}</textarea>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_cannot_delete_areaid')}</div>
                                                <div class="col-md-5">
                                                    <textarea name="no_delete_areaid" rows="2" class="form-control" placeholder="{:lang('v_cannot_delete_areaid')}">{:config('app.other.no_delete_areaid')}</textarea>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_cannot_delete_sendtemplate')}</div>
                                                <div class="col-md-5">
                                                    <textarea name="no_delete_sendtemplateid" rows="2" class="form-control" placeholder="{:lang('v_cannot_delete_sendtemplate')}">{:config('app.other.no_delete_sendtemplateid')}</textarea>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 text-right">{:lang('v_cannot_delete_authgroup')}</div>
                                                <div class="col-md-5">
                                                    <textarea name="no_delete_authgroupid" rows="2" class="form-control" placeholder="{:lang('v_cannot_delete_authgroup')}">{:config('app.other.no_delete_authgroupid')}</textarea>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">
                                                    {:lang('v_display_module')}<br />（{:lang('v_please_check')}）
                                                </div>
                                                <div class="col-md-8">
                                                    <div class="p-2 border rounded">
                                                        <label class="form-check form-check-inline">
                                                            <input name="site[]" type="checkbox" value="1" {if config('app.isdisplay.site') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_site_setting')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="field[]" type="checkbox" value="1" {if config('app.isdisplay.field') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_field')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="chat[]" type="checkbox" value="1" {if config('app.isdisplay.chat') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_chat')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="ad[]" type="checkbox" value="1" {if config('app.isdisplay.ad') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_ad')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="keyword[]" type="checkbox" value="1" {if config('app.isdisplay.keyword') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_keyword')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="navigation[]" type="checkbox" value="1" {if config('app.isdisplay.navigation') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_navigation')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="area[]" type="checkbox" value="1" {if config('app.isdisplay.area') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_area')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="module[]" type="checkbox" value="1" {if config('app.isdisplay.module') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_module')} {:lang('v_manage')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="filemanage[]" type="checkbox" value="1" {if config('app.isdisplay.filemanage') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_document')} {:lang('v_manage')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="showmodule[]" type="checkbox" value="1" {if config('app.isdisplay.showmodule') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_status_show')} {:lang('v_disable')} {:lang('v_module')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="typeattribute[]" type="checkbox" value="1" {if config('app.isdisplay.typeattribute') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_type')} {:lang('v_attribute')}
                                                        </label>
                                                        <hr class="my-2">
                                                        <label class="form-check form-check-inline">
                                                            <input name="parameter[]" type="checkbox" value="1" {if config('app.isdisplay.parameter') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_config_setting')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="databackup[]" type="checkbox" value="1" {if config('app.isdisplay.databackup') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_data')} {:lang('v_backup')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="language[]" type="checkbox" value="1" {if config('app.isdisplay.language') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_language')} {:lang('v_manage')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="templatemanage[]" type="checkbox" value="1" {if config('app.isdisplay.templatemanage') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_template')} {:lang('v_manage')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="authgroup[]" type="checkbox" value="1" {if config('app.isdisplay.authgroup') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_authgroup')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="authrule[]" type="checkbox" value="1" {if config('app.isdisplay.authrule') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_auth')} {:lang('v_manage')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="email[]" type="checkbox" value="1" {if config('app.isdisplay.email') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_email')}
                                                        </label>
                                                        <label class="form-check form-check-inline">
                                                            <input name="sms[]" type="checkbox" value="1" {if config('app.isdisplay.sms') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_sms')}
                                                        </label>
                                                        <label class="form-check form-check-inline {if config('app.other.system_type') neq 'company'}d-none{/if}">
                                                            <input name="uniapp[]" type="checkbox" value="1" {if config('app.isdisplay.uniapp') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_client_uniapp')}
                                                        </label>
                                                        <!-- 商城相关 -->
                                                        <div class="d-none">
                                                            <hr class="my-2">
                                                            <label class="form-check form-check-inline">
                                                                <input name="shop_set[]" type="checkbox" value="1" {if config('app.isdisplay.shop_set') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('shopv_shop')} {:lang('v_setting')}
                                                            </label>
                                                            <label class="form-check form-check-inline">
                                                                <input name="social[]" type="checkbox" value="1" {if config('app.isdisplay.social') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_social')}
                                                            </label>
                                                            <label class="form-check form-check-inline">
                                                                <input name="payment[]" type="checkbox" value="1" {if config('app.isdisplay.payment') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_payment')}
                                                            </label>
                                                            <hr class="my-2">
                                                            <label class="form-check form-check-inline">
                                                                <input name="isdisplay[]" type="checkbox" value="feedback" {if config('app.isdisplay.feedback') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_feedback')}
                                                            </label>
                                                            <label class="form-check form-check-inline">
                                                                <input name="user[]" type="checkbox" value="1" {if config('app.isdisplay.user') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_user_related')}
                                                            </label>
                                                            <label class="form-check form-check-inline">
                                                                <input name="shop_order[]" type="checkbox" value="1" {if config('app.isdisplay.shop_order') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('shopv_order')}
                                                            </label>
                                                            <label class="form-check form-check-inline">
                                                                <input name="shop_tax[]" type="checkbox" value="1" {if config('app.isdisplay.shop_tax') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('shopv_tax')}
                                                            </label>
                                                            <label class="form-check form-check-inline">
                                                                <input name="shop_coupon[]" type="checkbox" value="1" {if config('app.isdisplay.shop_coupon') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('shopv_coupon')}
                                                            </label>
                                                            <label class="form-check form-check-inline">
                                                                <input name="comment[]" type="checkbox" value="1" {if config('app.isdisplay.comment') eq 1}checked="checked"{/if} class="form-check-input" /> {:lang('v_comment')}
                                                            </label>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-3 col-form-label text-right">
                                                    {:lang('v_baidu_cloud')} accessKey
                                                </div>
                                                <div class="col-md-3">
                                                    <input type="text" name="baidu_ak" value="******" class="form-control">
                                                </div>
                                                <div class="col-md-6 col-form-label pl-0"><a href="https://console.bce.baidu.com/iam/#/iam/accesslist" target="_blank">{:lang('v_apply')}</a></div>
                                            </div>
                                            <div class="row form-group d-none">
                                                <div class="col-md-3 text-right">{:lang('g_system')} {:lang('v_type')}</div>
                                                <div class="col-md-8">
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="system_type" value="company" {if config('app.other.system_type') eq 'company'}checked="checked" {/if} class="form-check-input" />company
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="system_type" value="shop" {if config('app.other.system_type') eq 'shop'}checked="checked" {/if} class="form-check-input" />shop
                                                    </label>
                                                    <label class="form-check form-check-inline">
                                                        <input type="radio" name="system_type" value="cms" {if config('app.other.system_type') eq 'cms'}checked="checked" {/if} class="form-check-input" />cms
                                                    </label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="offset-md-3 col-md-9 mb-4">
                                                {if is_file(app()->getRootPath().'.env')}
                                                    <button type="submit" class="do_ajax btn btn-success mr-4"><i class="fas fa-check-circle mr-2"></i>{:lang('v_save')}</button>
                                                {else /}
                                                    <button type="button" class="do_ajax btn btn-success mr-4" onclick="javascript:do_ajax('#form_edit','.do_ajax','{:url('/config/index',['lang'=>$lang])}','{:url('/config/index',['lang'=>$lang])}');"><i class="fas fa-check-circle mr-2"></i>{:lang('v_save')}</button>
                                                {/if}
                                                <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);"><i class="fa fa-angle-double-left mr-1"></i>{:lang('v_goback')}</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!-- 内容主体 结束 -->
    </div>
    <!-- 右侧 结束 -->
{include file="public/foot" /}
{include file="public/js_color_picker" /}
<script type="text/plain" id="input_editor" style="display:none;"></script>
{include file="public/js_upload_img" /}
<script type="text/javascript">
// 启用禁用内容页置于语言根目录下
$('input[name="url_root"]').click(function(){
    if($(this).val() == '0'){
        if(!$('.url_root').hasClass('d-none')){
            $('.url_root').addClass('d-none');
        }
    }else{
        if($('.url_root').hasClass('d-none')){
            $('.url_root').removeClass('d-none');
        }
    }
});
// 启用禁用绑定域名
$('input[name="bind_lang"]').click(function(){
    if($(this).val() == '0'){
        if(!$('.class_bind').hasClass('d-none')){
            $('.class_bind').addClass('d-none');
        }
    }else{
        if($('.class_bind').hasClass('d-none')){
            $('.class_bind').removeClass('d-none');
        }
    }
});
</script>
</body>
</html>